package org.example.searcher;

// 这个类就是把 文档id 与 词的相关性 权重 进行一个包装
public class Weight {
    private Integer docId;

    // weight值越大，表示这个词与对应索引id的文档的相关性更高
    private Integer weight;

    public Integer getDocId() {
        return docId;
    }

    public void setDocId(Integer docId) {
        this.docId = docId;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}
